package com.adam.seatabusiness;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//排除自动DataSourceAutoConfiguration，在配置类已经自定义了DataSourceConfig 连接池
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableFeignClients
@EnableDiscoveryClient
@MapperScan(value = {"com.adam.seatabusiness.business.mapper"})
public class SeataTestBusinessApplication {

    public static void main(String[] args) {
        SpringApplication.run(SeataTestBusinessApplication.class, args);
    }

}
